package com.service.business.borrow.controller.rep;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

@Data
public class MemberBorrowConfigRep {

    private Integer coinsId;


    private String coinsName;
    /**
     * 借贷金额
     */
    private BigDecimal initNum;

    /**
     * 已借额度
     */
    private BigDecimal borrowNum;

    /**
     * 最晚还款时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date initPayBackDate;


    /**
     * 日息比例
     */
    private BigDecimal dailyScale;


    /**
     * 月息比例
     */
    private BigDecimal monthScale;
}
